var express = require('express');
var router = express.Router();

var dbHelper = require("../app_modules/mongoHelper.js");

router.get('/', function(req, res, next) {
  Test();
  res.render('index', { title: 'user' });
});

function Test(){
    dbHelper.find("user",{},{},{"code":1},1,2,function(response){
        console.log(response);
    })
}


module.exports = router;